package com.imooc.sell.conf;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import javax.net.ssl.SSLContext;

@Data
@Component
@ConfigurationProperties(prefix = "wechat")
public class WeChatAccountConfig {

    /**
     * 公众号appId
     */
    private String mpAppId;

    /**
     * 公众号appSecret
     */
    private String mpAppSecret;

    /**
     * 开放平台id
     */
    private String openAppId;

    /**
     * 开放平台密匙
     */
    private String openAppSecret;

    /**
     * 商户号
     */
    private String mchId;

    /**
     *  商户密匙
     */
    private String mchKey;

    /**
     *  证书路径
     */
    private String keyPath;

    private String notifyUrl;

}
